package cn.pomelo.signal.config;


import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "signal")
public class SignalConfig {

    private static String data;
    private static String target;
    private static String end;
    private static String charset;
    private static String sep;
    private static String latest;
    private static String suffix;
    private static String corn;
    private static String queue;

    public static String getData() {
        return data;
    }

    public static String getTarget() {
        return target;
    }

    public static String getEnd() {
        return end;
    }

    public static String getSep() {
        return sep;
    }

    public static String getLatest() {
        return latest;
    }

    public static String getSuffix() {
        return suffix;
    }

    public static String getCorn() {
        return corn;
    }

    public static String getQueue() {
        return queue;
    }

    public void setData(String data) {
        SignalConfig.data = data;
    }

    public void setTarget(String target) {
        SignalConfig.target = target;
    }

    public static String getCharset() {
        return charset;
    }

    public void setEnd(String end) {
        SignalConfig.end = end;
    }

    public void setCharset(String charset) {
        SignalConfig.charset = charset;
    }

    public void setSep(String sep) {
        SignalConfig.sep = sep;
    }

    public void setLatest(String latest) {
        SignalConfig.latest = latest;
    }

    public void setSuffix(String suffix) {
        SignalConfig.suffix = suffix;
    }

    public void setCorn(String corn) {
        SignalConfig.corn = corn;
    }

    public void setQueue(String queue) {
        SignalConfig.queue = queue;
    }
}
